projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dabc3a
)
(dabbrev--safe-replace-match): Use with-no-warnings.
author
Richard M. Stallman
<rms@gnu.org>
Sun, 17 Aug 2003 00:16:25 +0000
(
00:16
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sun, 17 Aug 2003 00:16:25 +0000
(
00:16
+0000)
lisp/dabbrev.el
patch
|
blob
|
history
diff --git
a/lisp/dabbrev.el
b/lisp/dabbrev.el
index 11a8aac6f6e7b10d2f05f06f14d36c72400855ea..083ad7c9dc32a31188e3d43be63d911ca67f22dd 100644
(file)
--- a/
lisp/dabbrev.el
+++ b/
lisp/dabbrev.el
@@
-851,7
+851,8
@@
of the start of the occurrence."
(defun dabbrev--safe-replace-match (string &optional fixedcase literal)
(if (eq major-mode 'picture-mode)
- (picture-replace-match string fixedcase literal)
+ (with-no-warnings
+ (picture-replace-match string fixedcase literal))
(replace-match string fixedcase literal)))
;;;----------------------------------------------------------------